package designPattern.FactoryMethod;

/**
 * @author ldy
 * @data 2022/11/9
 * @description ConcreteCreator
 * IWorkFactory工厂的实现类
 */
public class TeacherWorkFactory implements IWorkFactory {
    @Override
    public Work getWork() {
        return new TeacherWork();
    }
}
